package com.biz.primus.ms.commodity.feign;

import com.biz.primus.commodity.vo.backend.ProductSalesRequestVo;
import com.biz.primus.commodity.vo.backend.ProductSalesVo;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @author defei
 * @date 2017/9/13
 */
@FeignClient(qualifier = "orderFeignClient", name = "service-order")
public interface OrderFeignClient {

    @PostMapping("findProductSales")
    List<ProductSalesVo> findProductSales(@RequestBody ProductSalesRequestVo productSalesRequestVo);

}
